package com.etoc.test.activiti.listener;

import org.activiti.engine.delegate.DelegateTask;
import org.activiti.engine.delegate.TaskListener;

public class TaskAssigneeListener implements TaskListener {

    /**
	 * 注释内容
	 */
	private static final long serialVersionUID = 5859937994131541154L;

	@Override
    public void notify(DelegateTask delegateTask) {
        System.out.println(delegateTask.getEventName() + ", 任务分配给: " + delegateTask.getAssignee());
    }

}
